/*
 * @Description:
 * @version:
 * @Author: 尹鹏孝
 * @Date: 2023-08-04 21:22:25
 * @LastEditors: 尹鹏孝
 * @LastEditTime: 2023-08-06 12:48:54
 */
import { Module } from '@nestjs/common';
import { UsersController } from './users.controller';
import { UsersService } from './users.service';
import { User } from 'src/entity/user.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthModule } from '../auth/auth.module';
import {Login} from 'src/entity/login.entity';
import { LoginService } from './../login/login.service';
import { UserDetail } from '../entity/userDetail.entity';
@Module({
  //加了这句就好了好奇怪
  imports:[TypeOrmModule.forFeature([User,UserDetail]),TypeOrmModule.forFeature([Login]),AuthModule,],
  controllers: [UsersController],
  providers: [UsersService,LoginService]
})
export class UsersModule {}
